package com.zyf.client;

import com.zyf.vo.order.OrderCountQueryVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/** 订单操作的服务调用接口
 * @author zyf
 * @date 2021年05月31日 15:36
 */
@FeignClient(value = "service-order")
@Repository
public interface OrderFeignClient {

    @ApiOperation(value = "统计预约挂号数量")
    @PostMapping("/admin/order/orderInfo/inner/Statistics")
    Map<String, Object> selectOrderCount(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
